﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.BaseData.Entitys;

/// <summary>
/// 国标抽样方案实体.
/// </summary>
[SugarTable("qms_base_nationalstandard","国标抽样方案")]
[Tenant(ClaimConst.TENANTID)]
public class QmsBaseNationalstandardEntity : CLDEntityBase
{
    /// <summary>
    /// 检查水平.
    /// </summary>
    [SugarColumn(ColumnName = "F_InspectionLevel",ColumnDescription = "检查水平")]
    public string InspectionLevel { get; set; }

    /// <summary>
    /// 质量限.
    /// </summary>
    [SugarColumn(ColumnName = "F_QualityLimit",ColumnDescription = "质量限")]
    public string QualityLimit { get; set; }

    /// <summary>
    /// 严格度.
    /// </summary>
    [SugarColumn(ColumnName = "F_Stage",ColumnDescription = "严格度")]
    public string Stage { get; set; }

    /// <summary>
    /// 是否全检：Y=全检 N=不全检.
    /// </summary>
    [SugarColumn(ColumnName = "F_AllInspection",ColumnDescription = "是否全检：Y=全检 N=不全检")]
    public string AllInspection { get; set; }

    /// <summary>
    /// 批量下限.
    /// </summary>
    [SugarColumn(ColumnName = "F_LowerLimit",ColumnDescription = "批量下限")]
    public decimal LowerLimit { get; set; }

    /// <summary>
    /// 批量上限.
    /// </summary>
    [SugarColumn(ColumnName = "F_UpperLimit",ColumnDescription = "批量上限")]
    public decimal UpperLimit { get; set; }

    /// <summary>
    /// 样本数量.
    /// </summary>
    [SugarColumn(ColumnName = "F_SampleQty",ColumnDescription = "样本数量")]
    public int? SampleQty { get; set; }

    /// <summary>
    /// 接收数.
    /// </summary>
    [SugarColumn(ColumnName = "F_ReceivedQty",ColumnDescription = "接收数")]
    public int? ReceivedQty { get; set; }

}